package com.example.demo2.service;

import com.example.demo2.dao.Student;

import java.util.List;

public interface StudentService {

    //插入学生信息
    int insertStudent(Student student);
    //根据id删除学生信息
    int deleteStudent(int id);
    //根据id更新学生信息
    int updateStudent(Student student);
    //查询所有
    List<Student> findAllStudent();

}
